package edu.neu.ecommerceplatform.model;

public class Deliver {
    private Integer id;
    private Integer addressId;
    private String currentAddress;
    private String delivererPhone;
    private Integer orderId;

    public Deliver() {
    }

    public Deliver(Integer id, Integer addressId, String currentAddress, String delivererPhone, Integer orderId) {
        this.id = id;
        this.addressId = addressId;
        this.currentAddress = currentAddress;
        this.delivererPhone = delivererPhone;
        this.orderId = orderId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getCurrentAddress() {
        return currentAddress;
    }

    public void setCurrentAddress(String currentAddress) {
        this.currentAddress = currentAddress;
    }

    public String getDelivererPhone() {
        return delivererPhone;
    }

    public void setDelivererPhone(String delivererPhone) {
        this.delivererPhone = delivererPhone;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "Deliver{" +
                "id=" + id +
                ", addressId=" + addressId +
                ", currentAddress='" + currentAddress + '\'' +
                ", delivererPhone='" + delivererPhone + '\'' +
                ", orderId=" + orderId +
                '}';
    }
} 